<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <button onclick="alert('我是内联JS')">点我打开弹窗</button>
  <!-- 内部js -->
  <script>
    // 弹出警示框
    alert('你好，js')
  </script>
  <script src="./02-my.js"></script>
</body>
</html>